{include file="header.html"}

<div class="page-header">
	<h6>
		系统设置
		<small>
			<i class="ace-icon fa fa-angle-double-right"></i>
			提现审核
		</small>
	</h6>
</div>

<div class="row">
<div class="col-xs-12">
	<form class="form-horizontal" role="form" method="post" action="?app=withdraw&act=save">
		<input type="hidden" id="withdraw_id" name="withdraw_id" value="{$row->id}" />
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="member_name"> 申请人 </label>
			<div class="col-sm-10">
				<h5>{$row->member_name}</h5>
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="bank_name"> 银行信息 </label>
			<div class="col-sm-10">
				<h5>{$row->bank_name}{$row->bank_branch}：{$row->bank_card}</h5>
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="alipay"> 支付宝账号 </label>
			<div class="col-sm-10">
				<h5>{$row->alipay}</h5>
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="withdraw_money"> 提现金额 </label>
			<div class="col-sm-10">
				<h5>{$row->withdraw_money}</h5>
				<input type="hidden" id="withdraw_money" name="withdraw_money" value="{$row->withdraw_money}" />
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="add_time"> 申请时间 </label>
			<div class="col-sm-10">
				<h5>{date('Y-m-d H:i:s', $row->add_time)}</h5>
			</div>
		</div>
		{if $row->audit_admin}
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="audit_admin"> 审核人(ID) </label>
			<div class="col-sm-10">
				<h5>{$row->audit_admin}({$row->audit_adminid})</h5>
			</div>
		</div>
		{/if}
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="status"> 状态 </label>
			<div class="col-sm-10">
				<h5>{$row->status_name}</h5>
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="status_name"> 提现结果 </label>
			<div class="col-sm-10">
				{if $row->audit_time}
				<h5>{$row->status_name}</h5>
				{else}
				<!--<div class="radio">
					<label id="status-2">
						<input type="radio" name="status" id="status-2" value="-2" class="ace" {if $row->status==-2}checked{/if}  />
						<span class="lbl"> 提现失败</span>
					</label>
				</div>-->
				<div class="radio">
					<label id="status-1">
						<input type="radio" name="status" id="status-1" value="-1" class="ace" {if $row->status==-1}checked{/if}  />
						<span class="lbl"> 审核不通过</span>
					</label>
				</div>
				<div class="radio">
					<label id="status1">
						<input type="radio" name="status" id="status1" value="1" class="ace" {if $row->status==1}checked{/if}  />
						<span class="lbl"> 审核通过</span>
					</label>
				</div>
				<!--<div class="radio">
					<label id="status2">
						<input type="radio" name="status" id="status2" value="2" class="ace" {if $row->status==2}checked{/if}  />
						<span class="lbl"> 提现成功</span>
					</label>
				</div>-->
				{/if}
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="audit_memo"> 提现备注 </label>
			<div class="col-sm-10">
				{if $row->audit_time}
				<h5>{$row->audit_memo}</h5>
				{else}
				<input type="text" name="audit_memo" value="{$row->audit_memo}" class="col-xs-6" />
				{/if}
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="audit_time"> 审核时间 </label>
			<div class="col-sm-10">
				{if $row->audit_time}
				<h5>{date('Y-m-d H:i:s', $row->audit_time)}</h5>
				{else}
				<h5>- </h5>
				{/if}
			</div>
		</div>
		<div class="clearfix form-actions">
			<div class="col-md-offset-3 col-md-9">
				{if $row->audit_time}
				<button class="btn" type="buton" onclick="javascript:history.go(-1);">
					<i class="ace-icon fa fa-undo bigger-110"></i>
					返回
				</button>
				{else}
				<button class="btn btn-info" type="submit">
					<i class="ace-icon fa fa-check bigger-110"></i>
					提交
				</button>

				&nbsp; &nbsp; &nbsp;
				<button class="btn" type="reset">
					<i class="ace-icon fa fa-undo bigger-110"></i>
					重置
				</button>
				{/if} 
			</div>
		</div>
	
	</form>
</div>
</div>

{include file="footer.html"}
